<?php
class AdminControl extends AuthControl{
	private $_db;
	public function __init(){
		parent::__init();
		$this->_db=M('admin');
	}
	public function index(){
		$this->field = $this->_db->all();
		$this->display();
	}
}
?>
